package com.cloudfast.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import com.cloudfast.manager.ExcelManager;
import com.cloudfast.manager.WordManager;
import com.cloudfast.manager.impl.ExcelManagerImpl;
import com.cloudfast.manager.impl.WordManagerImpl;

/**
 * 文件上传启动配置类
 *
 * @author liuyw
 */
@Configuration
public class PoiConfiguration {


    @Bean
    public ExcelManager excelManagerImpl() {
        return new ExcelManagerImpl();
    }

    @Bean
    public WordManager wordManagerImpl() {
        return new WordManagerImpl();
    }
}
